package com.hxzy.mapstruct;

import com.hxzy.controller.admin.merchandiser.req.MerchandiserEditReq;
import com.hxzy.controller.anonymous.merchandiser.req.MerchandiserAddReq;
import com.hxzy.entity.Merchandiser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchandiserMapStruct {

    MerchandiserMapStruct INSTANCE= Mappers.getMapper(MerchandiserMapStruct.class);

    Merchandiser convert(MerchandiserAddReq req);

    Merchandiser convert(MerchandiserEditReq req);
}
